package com.ITArmy.beans.Shows;

import com.ITArmy.beans.Question;
import com.ITArmy.beans.User;

public class QuestionShow {
    private User user;
    private Question question;
    private long commentNumber;

    /**
     *是否关注过作者
     */
    private boolean likeUser;
    /**
     *问题类型
     */
    private String blogType;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    public long getCommentNumber() {
        return commentNumber;
    }

    public void setCommentNumber(long commentNumber) {
        this.commentNumber = commentNumber;
    }


    public boolean isLikeUser() {
        return likeUser;
    }

    public void setLikeUser(boolean likeUser) {
        this.likeUser = likeUser;
    }

    public String getBlogType() {
        return blogType;
    }

    public void setBlogType(String blogType) {
        this.blogType = blogType;
    }

    public QuestionShow(){}

    public QuestionShow(User user, Question question, long commentNumber, boolean likeUser, String blogType) {
        this.user = user;
        this.question = question;
        this.commentNumber = commentNumber;
        this.likeUser = likeUser;
        this.blogType = blogType;
    }
}
